package coder.nav.model.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class NavEditPasswordBO implements Serializable {

    @ApiModelProperty("原密码")
    @NotBlank(message = "请输入原密码")
    private String oldPassword;

    @ApiModelProperty("新密码")
    @NotBlank(message = "请输入新密码")
    private String newPassword;

}
